Practical jquery and PHP codeigniter form validation
Originally published in Http://tech.it168.com/a2011/0818/1234/000001234617.shtml
On, is my work, reproduced please specify:
Objective
In the Web site, the validation of forms is a very important
CodeIgniter's form helper function: the input data sets us to focus on how you use your HTML pages. One of the most important parts of any dynamic website is interacting with users, and this usually means using HTML forms. The form helper function
This example describes the CodeIgniter form validation method. Share to everyone for your reference, specific as follows:
1. Write a view file under the D:\CodeIgniter\system\application\views directory myform.php
my
JavaScript can be used to validate these input data in an HTML form before the data is sent to the server.
The typical form data that is validated by JavaScript is:
• Has the user filled out the required items in the form?• Is the email address
Codeigniter's form helper function: the input data sets us to focus on how you use your HTML pages.
One of the most important parts of any dynamic website is interacting with users, and this usually means using HTML forms.
The form helper function
1. Preparations
Download phpexcel: http://phpexcel.codeplex.com
This is a powerful Excel database. Only the Excel file export function is demonstrated here. Most of the functions may not be needed. 2. Install phpexcel to codeigniter
1)
Comparison | Development Framework
Introduction
The PHP development framework has recently become a hot topic for discussion in the PHP community, and new frameworks are being introduced almost daily. In the face of more than 40 development
The PHP development framework has recently become a hot topic for discussion in the PHP community, and new frameworks are being introduced almost daily. In the face of more than 40 development frameworks on the market, it's hard to tell which one
As a PHP developer, it is an exciting moment. Many useful libraries are distributed every day and can be easily found and used on Github. Below are the 24 coolest libraries I have ever met. Your favorite library is not in this list? Now, as a PHP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.